﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Frontend/Frontend.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<!--title menu-->
    <table border="0" cellpadding="0" cellspacing="0" width="100% ;">
        <tr>
            <td class="col-left">
                <% Html.RenderPartial("/Views/Frontend/Article/Left.ascx"); %>
            </td>
            <td class="col-center">
                <%if(ViewData["Article_Single_Check"] != null ){%>
                    <% if (ViewData["Article_Single_Check"] == "false")// many articles
                       {%>

                        <% Html.RenderAction("Frontend_ArticleList_Middle", "Article", new { articleTypeID = ViewData["articleTypeID_Temp"], pageIndex = ViewData["pageIndex"] });%>
                    <% }
                       else // single article
                       { %>
                        <% Html.RenderPartial("/Views/Frontend/Article/Middle_Single_Article.ascx", ViewData["Latest_Article"]);%>
                    <% } %>
                <%} %>
            </td>
        </tr>
    </table>
</asp:Content>
